Optimal. Leaf size=184 \[ -\frac{\sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (3 A b e-4 A c d+2 b B d)}{b^3}+\frac{\sqrt{d+e x} (b B-2 A c) (c d-b e)}{b^2 c (b+c x)}-\frac{\sqrt{c d-b e} \left (-b c (A e+2 B d)+4 A c^2 d+b^2 (-B) e\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 c^{3/2}}-\frac{A (d+e x)^{3/2}}{b x (b+c x)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.715651, antiderivative size = 184, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231 \[ -\frac{\sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (3 A b e-4 A c d+2 b B d)}{b^3}+\frac{\sqrt{d+e x} (b B-2 A c) (c d-b e)}{b^2 c (b+c x)}-\frac{\sqrt{c d-b e} \left (-b c (A e+2 B d)+4 A c^2 d+b^2 (-B) e\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 c^{3/2}}-\frac{A (d+e x)^{3/2}}{b x (b+c x)} \]
Antiderivative was successfully verified.
[In] Int[((A + B*x)*(d + e*x)^(3/2))/(b*x + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 81.9025, size = 168, normalized size = 0.91 \[ \frac{\left (d + e x\right )^{\frac{3}{2}} \left (A c - B b\right )}{b c x \left (b + c x\right )} - \frac{d \sqrt{d + e x} \left (2 A c - B b\right )}{b^{2} c x} - \frac{\sqrt{d} \left (3 A b e - 4 A c d + 2 B b d\right ) \operatorname{atanh}{\left (\frac{\sqrt{d + e x}}{\sqrt{d}} \right )}}{b^{3}} - \frac{\sqrt{b e - c d} \left (- A b c e + 4 A c^{2} d - B b^{2} e - 2 B b c d\right ) \operatorname{atan}{\left (\frac{\sqrt{c} \sqrt{d + e x}}{\sqrt{b e - c d}} \right )}}{b^{3} c^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(e*x+d)**(3/2)/(c*x**2+b*x)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.606684, size = 162, normalized size = 0.88 \[ -\frac{\frac{\sqrt{c d-b e} \left (-b c (A e+2 B d)+4 A c^2 d+b^2 (-B) e\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{c^{3/2}}+b \sqrt{d+e x} \left (\frac{(A c-b B) (c d-b e)}{c (b+c x)}+\frac{A d}{x}\right )+\sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (3 A b e-4 A c d+2 b B d)}{b^3} \]
Antiderivative was successfully verified.
[In] Integrate[((A + B*x)*(d + e*x)^(3/2))/(b*x + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.029, size = 443, normalized size = 2.4 \[{\frac{{e}^{2}A}{b \left ( cex+be \right ) }\sqrt{ex+d}}-{\frac{Acde}{{b}^{2} \left ( cex+be \right ) }\sqrt{ex+d}}-{\frac{{e}^{2}B}{c \left ( cex+be \right ) }\sqrt{ex+d}}+{\frac{Bed}{b \left ( cex+be \right ) }\sqrt{ex+d}}+{\frac{{e}^{2}A}{b}\arctan \left ({c\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}}-5\,{\frac{Acde}{{b}^{2}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }+4\,{\frac{A{c}^{2}{d}^{2}}{{b}^{3}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }+{\frac{{e}^{2}B}{c}\arctan \left ({c\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}}+{\frac{Bed}{b}\arctan \left ({c\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}}-2\,{\frac{Bc{d}^{2}}{{b}^{2}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }-{\frac{dA}{{b}^{2}x}\sqrt{ex+d}}-3\,{\frac{e\sqrt{d}A}{{b}^{2}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) }+4\,{\frac{{d}^{3/2}Ac}{{b}^{3}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) }-2\,{\frac{{d}^{3/2}B}{{b}^{2}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(e*x+d)^(3/2)/(c*x^2+b*x)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^(3/2)/(c*x^2 + b*x)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 1.01742, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^(3/2)/(c*x^2 + b*x)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(e*x+d)**(3/2)/(c*x**2+b*x)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.291661, size = 451, normalized size = 2.45 \[ \frac{{\left (2 \, B b d^{2} - 4 \, A c d^{2} + 3 \, A b d e\right )} \arctan \left (\frac{\sqrt{x e + d}}{\sqrt{-d}}\right )}{b^{3} \sqrt{-d}} - \frac{{\left (2 \, B b c^{2} d^{2} - 4 \, A c^{3} d^{2} - B b^{2} c d e + 5 \, A b c^{2} d e - B b^{3} e^{2} - A b^{2} c e^{2}\right )} \arctan \left (\frac{\sqrt{x e + d} c}{\sqrt{-c^{2} d + b c e}}\right )}{\sqrt{-c^{2} d + b c e} b^{3} c} + \frac{{\left (x e + d\right )}^{\frac{3}{2}} B b c d e - 2 \,{\left (x e + d\right )}^{\frac{3}{2}} A c^{2} d e - \sqrt{x e + d} B b c d^{2} e + 2 \, \sqrt{x e + d} A c^{2} d^{2} e -{\left (x e + d\right )}^{\frac{3}{2}} B b^{2} e^{2} +{\left (x e + d\right )}^{\frac{3}{2}} A b c e^{2} + \sqrt{x e + d} B b^{2} d e^{2} - 2 \, \sqrt{x e + d} A b c d e^{2}}{{\left ({\left (x e + d\right )}^{2} c - 2 \,{\left (x e + d\right )} c d + c d^{2} +{\left (x e + d\right )} b e - b d e\right )} b^{2} c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^(3/2)/(c*x^2 + b*x)^2,x, algorithm="giac")
[Out]